<template>
  <div class="flex justify-center items-center h-full">
    <Result status="403" title="403" sub-title="对不起，您没有权限访问该页面。">
      <template #extra>
        <Button type="primary" @click="goBack">返回</Button>
      </template>
    </Result>
  </div>
</template>
<script setup lang="tsx">
import { Button, Result } from 'ant-design-vue';
import { useRouter } from 'vue-router';

const router = useRouter();
const goBack = () => {
  router.push('/dashboard');
};
</script>
